home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 October / PCWorld_2006-10_cd.bin / audio-video / videoedit / videoeditmagic.exe / {app} / DSTestEngine.dll / XML / 1008 < prev    next >
Text File  |  2006-08-21  |  18KB  |  349 lines

  1. <tests start-test-seq="General" def-dll="DSFileTests.dll">
  2.   <test-seq type="General">
  3.     <test id="FileNameLengthTest" FuncDesc="Checking filename length.">
  4.       <return case="1" ref="FileSizeTest"/>
  5.       <return case="2" ref="ShowMsgUsingStringID"/>
  6.       <return case="else" cmd="Abort" />
  7.     </test>
  8.     <test id="ShowMsgUsingStringID" FuncDesc="Show error message.">
  9.       <return case="2" cmd="Reject"/>
  10.       <return case="else" cmd="Abort"/>
  11.       <extrainfo>
  12.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  13.       </extrainfo>
  14.     </test>
  15.     <test id="ShowConversionMsg" FuncDesc="Asks for the conversion to avi for the mpegII files.">
  16.       <return case="1" cmd="Convert"/>
  17.       <return case="2" cmd="Reject"/>
  18.       <return case="0" ref="FileDurationTestVEM"/>
  19.       <return case="3" cmd="Convert16To32bit"/>
  20.       <extrainfo>
  21.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  22.       </extrainfo>
  23.     </test>
  24.     <test id="FileSizeTest" FuncDesc="Checking file size.">
  25.       <return case="1" ref="FileCopyProtectedTest" />
  26.       <return case="2" ref="ShowMsgUsingStringID" />
  27.       <return case="else" cmd="Abort" />
  28.     </test>
  29.     <test id="FileCopyProtectedTest" FuncDesc="Cheking if file is copy protected.">
  30.       <return case="1" ref="FileDeterminationTest"/>
  31.       <return case="2" ref="ShowMsgUsingStringID"/>
  32.       <return case="else" cmd="Abort"/>
  33.     </test>
  34.     <test id="FileDeterminationTest" FuncDesc="Determining file type.">
  35.       <return case="1" ref="DSRender" test-seq="AVI"/>
  36.       <return case="2" ref="CheckForGPLDecoders" test-seq="MPEG2"/>
  37.       <return case="3" ref="ShowMsgUsingStringID"/>
  38.       <return case="4" ref="DSRenderWMV" test-seq="WMV"/>
  39.       <return case="5" ref="IsQTInstalled" test-seq="QuickTime"/>
  40.       <return case="6" ref="CheckForMpegableDecoders" test-seq="MP4"/>
  41.       <return case="7" ref="CheckIfDriveIsCDROMDrive" test-seq="CDA"/>
  42.       <return case="else" ref="DSRenderGeneral"/>
  43.     </test>
  44.     <test id="DSRenderGeneral" FuncDesc="General file render test.">
  45.       <return case="0" ref="FileDurationTestVEM"/>
  46.       <return case="1" ref="ShowMsgUsingStringID"/>
  47.       <return case="2" ref="IsFileNameInvalid"/>
  48.     </test>
  49.     <test id="FileDurationTestVEM" FuncDesc="Checking file duration.">
  50.       <return case="0" ref="LoadDSMediaInformation"/>
  51.       <return case="2" ref="IsImageFile" test-seq="IMAGE"/>
  52.     </test>
  53.     <test id="FileDurationTestVEM1" FuncDesc="Checking file duration before asking for conversion.">
  54.       <return case="0" ref="ShowConversionMsg"/>
  55.       <return case="2" ref="IsImageFile" test-seq="IMAGE"/>
  56.     </test>
  57.     <test id="LoadDSMediaInformation" FuncDesc="Loading media information.">
  58.       <return case="else" cmd="Accept"/>
  59.     </test>
  60.     <test id="IsFileNameInvalid" FuncDesc="Checking if filename is valid.">
  61.       <return case="0" ref="FileDurationTestVEM"/>
  62.       <return case="1" ref="ShowMsgUsingStringID"/>
  63.     </test>
  64.   </test-seq>
  65.   <test-seq type="AVI">
  66.     <test id="DSRender" FuncDesc="Check if avi file renders.">
  67.       <return case="0" ref="FileDurationTestVEM" test-seq="General"/>
  68.       <return case="1" ref="FindAVICompressor" />
  69.       <return case="3" ref="ShowMsgUsingStringID" test-seq="General"/>
  70.       <return case="2" cmd="Reject" />
  71.     </test>
  72.     <test id="FindAVICompressor" FuncDesc="Find required AVI compressor.">
  73.       <return case="0" ref="RecommendAVICompressor" />
  74.       <return case="else" cmd="Abort" />
  75.     </test>
  76.     <test id="RecommendAVICompressor" FuncDesc="Recommend AVI compressor.">
  77.       <return case="0" ref="DSRender"/>
  78.       <return case="2" cmd="Reject" />
  79.       <return case="else" cmd="Abort" />
  80.       <extrainfo>
  81.         <info id="Help Page"><![CDATA[TroubleOpeningMediaFiles.htm]]></info>
  82.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  83.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Video Edit Magic.]]></info>
  84.       </extrainfo>
  85.     </test>
  86.   </test-seq>
  87.   <test-seq type="WMV">
  88.     <test id="DSRenderWMV" FuncDesc="Check for WMV render.">
  89.       <return case="1" ref="IsFileSeekable"/>
  90.       <return case="2" ref="IsWMVFileProtected"/>
  91.       <return case="3" ref="ShowMsgUsingStringID" test-seq="General"/>
  92.       <return case="4" ref="IsFileNameInvalid" test-seq="General"/>
  93.     </test>
  94.     <test id="IsWMVFileProtected" FuncDesc="Check if WMV is protected.">
  95.       <return case="0" ref="ShowMsgUsingStringID" test-seq="General"/>
  96.     </test>
  97.     <test id="IsFileSeekable" FuncDesc="Check for File is seekable or not.">
  98.       <return case="1" ref="FileDurationTestVEM" test-seq="General"/>
  99.       <return case="0" ref="ShowConversionMsg" test-seq="General"/>
  100.       <extrainfo>
  101.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  102.       </extrainfo>
  103.     </test>
  104.   </test-seq>
  105.   <test-seq type="QuickTime">
  106.     <test id="IsQTInstalled" FuncDesc="Check if QT is installed.">
  107.       <return case="0" ref="IsValidQTFile"/>
  108.       <return case="1" ref="GiveMessageToDownloadQT" />
  109.     </test>
  110.     <test id="IsValidQTFile" FuncDesc="Check if valid QT file.">
  111.       <return case="1" ref="FileDurationTestMOV"/>
  112.       <return case="2" ref="ShowMsgUsingStringID" test-seq="General"/>
  113.     </test>
  114.     <test id="GiveMessageToDownloadQT" FuncDesc="Give message to download QT.">
  115.       <return case="2" cmd="Reject"/>
  116.       <return case="3" cmd="Abort"/>
  117.       <return case="1" ref="IsQTInstalled"/>
  118.       <extrainfo>
  119.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  120.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Video Edit Magic.]]></info>
  121.         <info id="Codec URL"><![CDATA[http://www.apple.com/quicktime/products/qt/.]]></info>
  122.       </extrainfo>
  123.     </test>
  124.     <test id="FileDurationTestMOV" FuncDesc="Check QT file duration.">
  125.       <return case="0" ref="IsQTLatestVersionInstalled"/>
  126.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  127.     </test>
  128.     <test id="IsQTLatestVersionInstalled" FuncDesc="Check for QT latest version.">
  129.       <return case="0" ref="RecommendQTLatestVersion"/>
  130.       <return case="1" ref="ShowConversionMsg" test-seq="General"/>
  131.     </test>
  132.     <test id="RecommendQTLatestVersion" FuncDesc="Recommend QT latest version.">
  133.       <return case="2" ref="ShowConversionMsg" test-seq="General"/>
  134.       <return case="3" cmd="Abort"/>
  135.       <return case="1" ref="IsQTInstalled"/>
  136.       <extrainfo>
  137.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  138.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\DMsgs]]></info>
  139.         <info id="Codec URL"><![CDATA[http://www.apple.com/quicktime/products/qt/.]]></info>
  140.       </extrainfo>
  141.     </test>
  142.     <test id="LoadQTMediaInformation" FuncDesc="Load QT media information.">
  143.       <return case="else" cmd="Accept"/>
  144.     </test>
  145.   </test-seq>
  146.  
  147.   <test-seq type="MPEG2">
  148.     <test id="CheckForGPLDecoders" FuncDesc="Check for gpl mpeg-2 decoders.">
  149.       <return case="1" ref="ForceGPLToRender"/>
  150.       <return case="2" ref="DSRenderMPEG"/>
  151.     </test>
  152.     <test id="ForceGPLToRender" FuncDesc="Use gpl mpeg-2 decoders to render.">
  153.       <return case="0" ref="CheckMpegDecoderVersionAndAddFile"/>
  154.       <return case="1" ref="IsNumberOfStreamsValidWithGPL"/>
  155.       <return case="2" ref="IsFileNameInvalidMPEGCheckWithGpl"/>
  156.     </test>
  157.     <test id="IsFileNameInvalidMPEGCheckWithGpl" FuncDesc="Check if mpeg2 filename is valid with gpl decoders.">
  158.       <return case="0" ref="CheckMpegDecoderVersionAndRejectFile"/>
  159.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  160.     </test>
  161.     <test id="RecommendGPLLatestVersion" FuncDesc="Recommend gpl mpeg-2 decoders latest version.">
  162.       <return case="1" ref="ReVerifyDVRMS"/>
  163.       <return case="2" ref="CheckForGPLDecoders"/>
  164.       <return case="else" cmd="Abort"/>
  165.       <extrainfo>
  166.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  167.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Video Edit Magic.]]></info>
  168.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\DMsgs]]></info>
  169.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpeg2decoder.exe]]></info>
  170.       </extrainfo>
  171.     </test>
  172.     <test id="IsNumberOfStreamsValidWithGPL" FuncDesc="Count number of streams in mpeg2 with gpl mpeg-2 decoders.">
  173.       <return case="0" ref="CheckMpegDecoderVersionAndAddFile"/>
  174.       <return case="1" ref="CheckMpegDecoderVersionAndRejectFile"/>
  175.     </test>
  176.     <test id="CheckMpegDecoderVersionAndAddFile" FuncDesc="Check gpl mpeg-2 decoder version and add file.">
  177.       <return case="1" ref="ReVerifyDVRMS"/>
  178.       <return case="2" ref="RecommendGPLLatestVersion"/>
  179.       <extrainfo>
  180.         <info id="MPEG2RegistryForDSCompat"><![CDATA[Software\DeskShare\VEMCompat4\Filters\]]></info>
  181.       </extrainfo>
  182.     </test>
  183.     <test id="CheckMpegDecoderVersionAndRejectFile" FuncDesc="Check gpl mpeg-2 decoder version and reject file.">
  184.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  185.       <return case="2" ref="GiveDownloadGPLMessage"/>
  186.       <extrainfo>
  187.         <info id="MPEG2RegistryForDSCompat"><![CDATA[Software\DeskShare\VEMCompat4\Filters\]]></info>
  188.       </extrainfo>
  189.     </test>
  190.     <test id="DSRenderMPEG" FuncDesc="Check mpeg2 file render.">
  191.       <return case="0" ref="RecommendGPL"/>
  192.       <return case="1" ref="IsNumberOfStreamsValidWithoutGPL"/>
  193.       <return case="2" ref="GiveDownloadGPLMessage"/>
  194.       <return case="3" ref="IsFileNameInvalidMPEGCheckWoGpl"/>
  195.     </test>
  196.     <test id="IsFileNameInvalidMPEGCheckWoGpl" FuncDesc="Check if mpeg2 filename is valid without gpl">
  197.       <return case="0" ref="GiveDownloadGPLMessage"/>
  198.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  199.     </test>
  200.     <test id="IsNumberOfStreamsValidWithoutGPL" FuncDesc="Count number of streams without gpl decoders">
  201.       <return case="1" ref="GiveDownloadGPLMessage"/>
  202.       <return case="2" ref="RecommendGPL"/>
  203.     </test>
  204.     <test id="GiveDownloadGPLMessage" FuncDesc="Give download gpl mpeg-2 decoders message.">
  205.       <return case="1" ref="CheckForGPLDecoders"/>
  206.       <return case="2" cmd="Reject"/>
  207.       <return case="else" cmd="Abort"/>
  208.       <extrainfo>
  209.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  210.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Video Edit Magic.]]></info>
  211.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpeg2decoder.exe]]></info>
  212.       </extrainfo>
  213.     </test>
  214.     <test id="RecommendGPL" FuncDesc="Recommend gpl mpeg-2 decoders.">
  215.       <return case ="1" ref="CheckForGPLDecoders"/>
  216.       <return case ="2" ref="ReVerifyDVRMS"/>
  217.       <return case ="3" cmd="Abort"/>
  218.       <extrainfo>
  219.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  220.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Video Edit Magic.]]></info>
  221.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\DMsgs]]></info>
  222.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpeg2decoder.exe]]></info>
  223.       </extrainfo>
  224.     </test>
  225.     <test id="ReVerifyDVRMS" FuncDesc="Reverify if file is dvr-ms.">
  226.       <return case="0" ref="IsFileTypeMPEG2"/>
  227.       <return case="1" ref="FileDurationTestVEM" test-seq="General"/>
  228.     </test>
  229.     <test id="IsFileTypeMPEG2" FuncDesc="Check if file is mpeg2 format.">
  230.       <return case="0" ref="FileDurationTestVEM" test-seq="General"/>
  231.       <return case="1" ref="IsFileTakenFromDVDDrive" test-seq="OnlyMPEG2Test"/>
  232.     </test>    
  233.   </test-seq>
  234.   <test-seq type="OnlyMPEG2Test">
  235.     <test id="IsFileTakenFromDVDDrive" FuncDesc="Check if mpeg2 file is taken from dvd drive.">
  236.       <return case="1" ref="IsFileEncrypted"/>
  237.       <return case="2" ref="ShowMsgCopyFileToDisk" test-seq="General"/>
  238.     </test>
  239.     <test id="ShowMsgCopyFileToDisk" FuncDesc="Show message to copy file from DVD to local disk.">
  240.       <return case ="1" ref="IsFileHavingChapters"/>
  241.       <return case="2" cmd="Reject"/>
  242.       <return case="else" cmd="Abort"/>
  243.       <extrainfo>
  244.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\WorkingFolder]]></info>
  245.       </extrainfo>
  246.     </test>
  247.     <test id="IsFileEncrypted" FuncDesc="Check if mpeg2 file is encrypted.">
  248.       <return case="1" ref="IsFileHavingChapters"/>
  249.       <return case="2" ref="ShowMsgUsingStringID" test-seq="General"/>
  250.     </test>
  251.     <test id="IsFileHavingChapters" FuncDesc="Check if mpeg2 file is having chapters.">
  252.       <return case="1" ref="CheckVOBChaptersFlagVEM"/>
  253.       <return case="2" cmd="Reject"/>
  254.     </test>
  255.     <test id="CheckVOBChaptersFlagVEM" FuncDesc="Check the flag VOBChapters and then checks if file has chapters.">
  256.       <return case="1" ref="ShowConversionMsg" test-seq="General"/>
  257.       <return case="0" ref="CanMPEGFileBeAdded"/>
  258.     </test>    
  259.     <test id="CanMPEGFileBeAdded" FuncDesc="Check if file can be added to timeline.">
  260.       <return case="0" ref="ShowConversionMsg" test-seq ="General"/>
  261.       <return case="1" ref="FileDurationTestVEM1" test-seq="General"/>
  262.     </test>
  263.      <test id="GiveChapterDurationMessage" FuncDesc="Give mpeg2 chapter duration message.">
  264.       <return case="0" ref="LoadDSMediaInformation" test-seq="General"/>
  265.       <return case="else"  cmd="Abort"/>
  266.       <extrainfo>
  267.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  268.       </extrainfo>
  269.     </test>
  270.   </test-seq>
  271.  
  272.   <test-seq type="IMAGE">
  273.     <test id="IsImageFile" FuncDesc="Check if the file is image file.">
  274.       <return case="1" ref="Check16ColorBMP"/>
  275.       <return case="0" ref="ShowMsgUsingStringID" test-seq="General"/>
  276.     </test>
  277.     <test id="Check16ColorBMP" FuncDesc="Check if the file is image file.">
  278.       <return case="1" ref="ShowConversionMsg" test-seq ="General"/>
  279.       <return case="0" ref="LoadDSMediaInformation" test-seq="General"/>
  280.       <return case="2" cmd="Reject"/>
  281.     </test>
  282.   </test-seq>
  283.  
  284.   <test-seq type="MP4">
  285.     <test id="CheckForMpegableDecoders" FuncDesc="Check for mp4 decoders">
  286.       <return case="0" ref="ForceMP4DecodersToRender"/>
  287.       <return case="1" ref="DSRenderMP4"/>
  288.     </test>
  289.     <test id="DSRenderMP4" FuncDesc="Check for mp4 file render">
  290.       <return case="0" ref="GiveMessageToDownloadMP4Decoders"/>
  291.       <return case="1" ref="IsNumberOfStreamsValidWoMP4Decoders"/>
  292.     </test>
  293.     <test id="RecommendMP4Decoders" FuncDesc="Recommend mp4 decoders">
  294.       <return case="0" ref="ShowConversionMsg" test-seq="General"/>
  295.       <return case="1" cmd="Abort"/>
  296.       <return case="2" ref="CheckForMpegableDecoders"/>
  297.       <extrainfo>
  298.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  299.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Video Edit Magic.]]></info>
  300.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\DMsgs]]></info>
  301.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpegabledsdecoder.exe]]></info>
  302.       </extrainfo>
  303.     </test>
  304.     <test id="IsNumberOfStreamsValidWoMP4Decoders" FuncDesc="Count number of streams in mp4 wihtout mp4 decoders.">
  305.       <return case="0" ref="RecommendMP4Decoders"/>
  306.       <return case="1" ref="GiveMessageToDownloadMP4Decoders"/>
  307.     </test>
  308.     <test id="GiveMessageToDownloadMP4Decoders" FuncDesc="Give message to download mp4 decoders.">
  309.       <return case="0" cmd="Reject"/>
  310.       <return case="1" cmd="Abort"/>
  311.       <return case="2" ref="CheckForMpegableDecoders"/>
  312.       <extrainfo>
  313.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  314.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Video Edit Magic.]]></info>
  315.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpegabledsdecoder.exe]]></info>
  316.       </extrainfo>
  317.     </test>
  318.     <test id="ForceMP4DecodersToRender" FuncDesc="Use mp4 Decoders to render.">
  319.       <return case="0" ref="ShowConversionMsg" test-seq="General"/>
  320.       <return case="1" ref="IsNumberOfStreamsValidWithMP4Decoders"/>
  321.       <return case="2" ref="IsFileNameInvalidMP4"/>
  322.     </test>
  323.     <test id="IsFileNameInvalidMP4" FuncDesc="Check if mp4 filename is valid.">
  324.       <return case="else" ref="ShowMsgUsingStringID" test-seq="General"/>
  325.     </test>
  326.     <test id="IsNumberOfStreamsValidWithMP4Decoders" FuncDesc="Count number of streams in mp4 with mp4 decoders.">
  327.       <return case="0" cmd="showHavingChaptersMsg"/>
  328.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  329.     </test>
  330.   </test-seq>
  331.  
  332.   <test-seq type="Exception" >
  333.     <test id="ShowExceptionMsg" FuncDesc="Exception occured on last command.">
  334.       <return case="2" cmd="Reject" />
  335.       <return case="else" cmd="Abort" />
  336.       <extrainfo>
  337.         <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  338.       </extrainfo>
  339.     </test>
  340.   </test-seq>
  341.   
  342.   <services>
  343.     <info id="Help File"><![CDATA[\Help\VEM Help.chm]]></info>
  344.     <info id="Help Page"><![CDATA[TroubleOpeningMediaFiles.htm]]></info>
  345.     <info id="DSCompat"><![CDATA[1]]></info >
  346.     <info id="Application Caption"><![CDATA[Video Edit Magic]]></info>
  347.   </services>
  348. </tests>
  349.